import axios from "./request";
// 集中管理接口

export const Home=()=>axios.get("index/home")// 首页数据
export const Cate=()=>axios.get("/index/cate")// 分类
export const Det=params=>axios.get("index/det",{params})// 详情
export const Login=params=>axios.post("/user/login",params)// 登录
export const Order=params=>axios.post("/user/createorder",params)// 提交订单
export const OrderDet=params=>axios.post("/user/orderdet",params)// 订单详情